<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LINE 1 &quot;libraries\\Win32\\Graphics\\Win32\\Message.hsc&quot; #-}</span><span>
</span><span id="line-1"></span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LINE 2 &quot;libraries\\Win32\\Graphics\\Win32\\Message.hsc&quot; #-}</span><span>
</span><span id="line-2"></span><span class="hs-pragma">{-# LANGUAGE Safe #-}</span><span>
</span><span id="line-3"></span><span>
</span><span id="line-4"></span><span class="hs-pragma">{-# LINE 6 &quot;libraries\\Win32\\Graphics\\Win32\\Message.hsc&quot; #-}</span><span>
</span><span id="line-6"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-7"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-8"></span><span class="hs-comment">-- Module      :  Graphics.Win32.Message</span><span>
</span><span id="line-9"></span><span class="hs-comment">-- Copyright   :  (c) Alastair Reid, 1997-2003</span><span>
</span><span id="line-10"></span><span class="hs-comment">-- License     :  BSD-style (see the file libraries/base/LICENSE)</span><span>
</span><span id="line-11"></span><span class="hs-comment">--</span><span>
</span><span id="line-12"></span><span class="hs-comment">-- Maintainer  :  Esa Ilari Vuokko &lt;ei@vuokko.info&gt;</span><span>
</span><span id="line-13"></span><span class="hs-comment">-- Stability   :  provisional</span><span>
</span><span id="line-14"></span><span class="hs-comment">-- Portability :  portable</span><span>
</span><span id="line-15"></span><span class="hs-comment">--</span><span>
</span><span id="line-16"></span><span class="hs-comment">-- A collection of FFI declarations for interfacing with Win32.</span><span>
</span><span id="line-17"></span><span class="hs-comment">--</span><span>
</span><span id="line-18"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-19"></span><span>
</span><span id="line-20"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Graphics.Win32.Message</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-21"></span><span>
</span><span id="line-22"></span><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">System.Win32.Types</span><span class="hs-cpp">

#include &quot;windows_cconv.h&quot;
</span><span>
</span><span id="line-26"></span><span>
</span><span id="line-27"></span><span>
</span><span id="line-28"></span><span class="hs-keyword">type</span><span> </span><span class="hs-identifier">WindowMessage</span><span>   </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">DWORD</span><span>
</span><span id="line-29"></span><span>
</span><span id="line-30"></span><span class="hs-identifier">wM_COMPACTING</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-31"></span><span class="hs-identifier">wM_COMPACTING</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">65</span><span>
</span><span id="line-32"></span><span class="hs-identifier">wM_WININICHANGE</span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-33"></span><span class="hs-identifier">wM_WININICHANGE</span><span>       </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">26</span><span>
</span><span id="line-34"></span><span class="hs-identifier">wM_SYSCOLORCHANGE</span><span>     </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-35"></span><span class="hs-identifier">wM_SYSCOLORCHANGE</span><span>     </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">21</span><span>
</span><span id="line-36"></span><span class="hs-identifier">wM_QUERYNEWPALETTE</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-37"></span><span class="hs-identifier">wM_QUERYNEWPALETTE</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">783</span><span>
</span><span id="line-38"></span><span class="hs-identifier">wM_PALETTEISCHANGING</span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-39"></span><span class="hs-identifier">wM_PALETTEISCHANGING</span><span>  </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">784</span><span>
</span><span id="line-40"></span><span class="hs-identifier">wM_PALETTECHANGED</span><span>     </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-41"></span><span class="hs-identifier">wM_PALETTECHANGED</span><span>     </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">785</span><span>
</span><span id="line-42"></span><span class="hs-identifier">wM_FONTCHANGE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-43"></span><span class="hs-identifier">wM_FONTCHANGE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">29</span><span>
</span><span id="line-44"></span><span class="hs-identifier">wM_SPOOLERSTATUS</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-45"></span><span class="hs-identifier">wM_SPOOLERSTATUS</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">42</span><span>
</span><span id="line-46"></span><span class="hs-identifier">wM_DEVMODECHANGE</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-47"></span><span class="hs-identifier">wM_DEVMODECHANGE</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">27</span><span>
</span><span id="line-48"></span><span class="hs-identifier">wM_TIMECHANGE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-49"></span><span class="hs-identifier">wM_TIMECHANGE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">30</span><span>
</span><span id="line-50"></span><span class="hs-identifier">wM_POWER</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-51"></span><span class="hs-identifier">wM_POWER</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">72</span><span>
</span><span id="line-52"></span><span class="hs-identifier">wM_QUERYENDSESSION</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-53"></span><span class="hs-identifier">wM_QUERYENDSESSION</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">17</span><span>
</span><span id="line-54"></span><span class="hs-identifier">wM_ENDSESSION</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-55"></span><span class="hs-identifier">wM_ENDSESSION</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">22</span><span>
</span><span id="line-56"></span><span class="hs-identifier">wM_QUIT</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-57"></span><span class="hs-identifier">wM_QUIT</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">18</span><span>
</span><span id="line-58"></span><span class="hs-identifier">wM_CREATE</span><span>             </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-59"></span><span class="hs-identifier">wM_CREATE</span><span>             </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">1</span><span>
</span><span id="line-60"></span><span class="hs-identifier">wM_NCCREATE</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-61"></span><span class="hs-identifier">wM_NCCREATE</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">129</span><span>
</span><span id="line-62"></span><span class="hs-identifier">wM_DESTROY</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-63"></span><span class="hs-identifier">wM_DESTROY</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">2</span><span>
</span><span id="line-64"></span><span class="hs-identifier">wM_NCDESTROY</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-65"></span><span class="hs-identifier">wM_NCDESTROY</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">130</span><span>
</span><span id="line-66"></span><span class="hs-identifier">wM_SHOWWINDOW</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-67"></span><span class="hs-identifier">wM_SHOWWINDOW</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">24</span><span>
</span><span id="line-68"></span><span class="hs-identifier">wM_SETREDRAW</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-69"></span><span class="hs-identifier">wM_SETREDRAW</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">11</span><span>
</span><span id="line-70"></span><span class="hs-identifier">wM_ENABLE</span><span>             </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-71"></span><span class="hs-identifier">wM_ENABLE</span><span>             </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">10</span><span>
</span><span id="line-72"></span><span class="hs-identifier">wM_SETTEXT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-73"></span><span class="hs-identifier">wM_SETTEXT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">12</span><span>
</span><span id="line-74"></span><span class="hs-identifier">wM_GETTEXT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-75"></span><span class="hs-identifier">wM_GETTEXT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">13</span><span>
</span><span id="line-76"></span><span class="hs-identifier">wM_GETTEXTLENGTH</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-77"></span><span class="hs-identifier">wM_GETTEXTLENGTH</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">14</span><span>
</span><span id="line-78"></span><span class="hs-identifier">wM_WINDOWPOSCHANGING</span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-79"></span><span class="hs-identifier">wM_WINDOWPOSCHANGING</span><span>  </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">70</span><span>
</span><span id="line-80"></span><span class="hs-identifier">wM_WINDOWPOSCHANGED</span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-81"></span><span class="hs-identifier">wM_WINDOWPOSCHANGED</span><span>   </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">71</span><span>
</span><span id="line-82"></span><span class="hs-identifier">wM_MOVE</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-83"></span><span class="hs-identifier">wM_MOVE</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">3</span><span>
</span><span id="line-84"></span><span class="hs-identifier">wM_SIZE</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-85"></span><span class="hs-identifier">wM_SIZE</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">5</span><span>
</span><span id="line-86"></span><span class="hs-identifier">wM_QUERYOPEN</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-87"></span><span class="hs-identifier">wM_QUERYOPEN</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">19</span><span>
</span><span id="line-88"></span><span class="hs-identifier">wM_CLOSE</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-89"></span><span class="hs-identifier">wM_CLOSE</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">16</span><span>
</span><span id="line-90"></span><span class="hs-identifier">wM_GETMINMAXINFO</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-91"></span><span class="hs-identifier">wM_GETMINMAXINFO</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">36</span><span>
</span><span id="line-92"></span><span class="hs-identifier">wM_PAINT</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-93"></span><span class="hs-identifier">wM_PAINT</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">15</span><span>
</span><span id="line-94"></span><span class="hs-identifier">wM_ERASEBKGND</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-95"></span><span class="hs-identifier">wM_ERASEBKGND</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">20</span><span>
</span><span id="line-96"></span><span class="hs-identifier">wM_ICONERASEBKGND</span><span>     </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-97"></span><span class="hs-identifier">wM_ICONERASEBKGND</span><span>     </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">39</span><span>
</span><span id="line-98"></span><span class="hs-identifier">wM_NCPAINT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-99"></span><span class="hs-identifier">wM_NCPAINT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">133</span><span>
</span><span id="line-100"></span><span class="hs-identifier">wM_NCCALCSIZE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-101"></span><span class="hs-identifier">wM_NCCALCSIZE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">131</span><span>
</span><span id="line-102"></span><span class="hs-identifier">wM_QUERYDRAGICON</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-103"></span><span class="hs-identifier">wM_QUERYDRAGICON</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">55</span><span>
</span><span id="line-104"></span><span class="hs-identifier">wM_DROPFILES</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-105"></span><span class="hs-identifier">wM_DROPFILES</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">563</span><span>
</span><span id="line-106"></span><span class="hs-identifier">wM_ACTIVATE</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-107"></span><span class="hs-identifier">wM_ACTIVATE</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">6</span><span>
</span><span id="line-108"></span><span class="hs-identifier">wM_ACTIVATEAPP</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-109"></span><span class="hs-identifier">wM_ACTIVATEAPP</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">28</span><span>
</span><span id="line-110"></span><span class="hs-identifier">wM_NCACTIVATE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-111"></span><span class="hs-identifier">wM_NCACTIVATE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">134</span><span>
</span><span id="line-112"></span><span class="hs-identifier">wM_SETFOCUS</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-113"></span><span class="hs-identifier">wM_SETFOCUS</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">7</span><span>
</span><span id="line-114"></span><span class="hs-identifier">wM_KILLFOCUS</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-115"></span><span class="hs-identifier">wM_KILLFOCUS</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">8</span><span>
</span><span id="line-116"></span><span class="hs-identifier">wM_KEYDOWN</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-117"></span><span class="hs-identifier">wM_KEYDOWN</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">256</span><span>
</span><span id="line-118"></span><span class="hs-identifier">wM_KEYUP</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-119"></span><span class="hs-identifier">wM_KEYUP</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">257</span><span>
</span><span id="line-120"></span><span class="hs-identifier">wM_CHAR</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-121"></span><span class="hs-identifier">wM_CHAR</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">258</span><span>
</span><span id="line-122"></span><span class="hs-identifier">wM_DEADCHAR</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-123"></span><span class="hs-identifier">wM_DEADCHAR</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">259</span><span>
</span><span id="line-124"></span><span class="hs-identifier">wM_SYSKEYDOWN</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-125"></span><span class="hs-identifier">wM_SYSKEYDOWN</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">260</span><span>
</span><span id="line-126"></span><span class="hs-identifier">wM_SYSKEYUP</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-127"></span><span class="hs-identifier">wM_SYSKEYUP</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">261</span><span>
</span><span id="line-128"></span><span class="hs-identifier">wM_SYSCHAR</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-129"></span><span class="hs-identifier">wM_SYSCHAR</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">262</span><span>
</span><span id="line-130"></span><span class="hs-identifier">wM_SYSDEADCHAR</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-131"></span><span class="hs-identifier">wM_SYSDEADCHAR</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">263</span><span>
</span><span id="line-132"></span><span class="hs-identifier">wM_KEYFIRST</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-133"></span><span class="hs-identifier">wM_KEYFIRST</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">256</span><span>
</span><span id="line-134"></span><span class="hs-identifier">wM_KEYLAST</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-135"></span><span class="hs-identifier">wM_KEYLAST</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">265</span><span>
</span><span id="line-136"></span><span class="hs-identifier">wM_MOUSEMOVE</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-137"></span><span class="hs-identifier">wM_MOUSEMOVE</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">512</span><span>
</span><span id="line-138"></span><span class="hs-identifier">wM_LBUTTONDOWN</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-139"></span><span class="hs-identifier">wM_LBUTTONDOWN</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">513</span><span>
</span><span id="line-140"></span><span class="hs-identifier">wM_LBUTTONUP</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-141"></span><span class="hs-identifier">wM_LBUTTONUP</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">514</span><span>
</span><span id="line-142"></span><span class="hs-identifier">wM_LBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-143"></span><span class="hs-identifier">wM_LBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">515</span><span>
</span><span id="line-144"></span><span class="hs-identifier">wM_RBUTTONDOWN</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-145"></span><span class="hs-identifier">wM_RBUTTONDOWN</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">516</span><span>
</span><span id="line-146"></span><span class="hs-identifier">wM_RBUTTONUP</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-147"></span><span class="hs-identifier">wM_RBUTTONUP</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">517</span><span>
</span><span id="line-148"></span><span class="hs-identifier">wM_RBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-149"></span><span class="hs-identifier">wM_RBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">518</span><span>
</span><span id="line-150"></span><span class="hs-identifier">wM_MBUTTONDOWN</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-151"></span><span class="hs-identifier">wM_MBUTTONDOWN</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">519</span><span>
</span><span id="line-152"></span><span class="hs-identifier">wM_MBUTTONUP</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-153"></span><span class="hs-identifier">wM_MBUTTONUP</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">520</span><span>
</span><span id="line-154"></span><span class="hs-identifier">wM_MBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-155"></span><span class="hs-identifier">wM_MBUTTONDBLCLK</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">521</span><span>
</span><span id="line-156"></span><span class="hs-identifier">wM_MOUSEFIRST</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-157"></span><span class="hs-identifier">wM_MOUSEFIRST</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">512</span><span>
</span><span id="line-158"></span><span class="hs-identifier">wM_MOUSELAST</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-159"></span><span class="hs-identifier">wM_MOUSELAST</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">526</span><span>
</span><span id="line-160"></span><span class="hs-identifier">wM_NCMOUSEMOVE</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-161"></span><span class="hs-identifier">wM_NCMOUSEMOVE</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">160</span><span>
</span><span id="line-162"></span><span class="hs-identifier">wM_NCLBUTTONDOWN</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-163"></span><span class="hs-identifier">wM_NCLBUTTONDOWN</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">161</span><span>
</span><span id="line-164"></span><span class="hs-identifier">wM_NCLBUTTONUP</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-165"></span><span class="hs-identifier">wM_NCLBUTTONUP</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">162</span><span>
</span><span id="line-166"></span><span class="hs-identifier">wM_NCLBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-167"></span><span class="hs-identifier">wM_NCLBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">163</span><span>
</span><span id="line-168"></span><span class="hs-identifier">wM_NCRBUTTONDOWN</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-169"></span><span class="hs-identifier">wM_NCRBUTTONDOWN</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">164</span><span>
</span><span id="line-170"></span><span class="hs-identifier">wM_NCRBUTTONUP</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-171"></span><span class="hs-identifier">wM_NCRBUTTONUP</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">165</span><span>
</span><span id="line-172"></span><span class="hs-identifier">wM_NCRBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-173"></span><span class="hs-identifier">wM_NCRBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">166</span><span>
</span><span id="line-174"></span><span class="hs-identifier">wM_NCMBUTTONDOWN</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-175"></span><span class="hs-identifier">wM_NCMBUTTONDOWN</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">167</span><span>
</span><span id="line-176"></span><span class="hs-identifier">wM_NCMBUTTONUP</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-177"></span><span class="hs-identifier">wM_NCMBUTTONUP</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">168</span><span>
</span><span id="line-178"></span><span class="hs-identifier">wM_NCMBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-179"></span><span class="hs-identifier">wM_NCMBUTTONDBLCLK</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">169</span><span>
</span><span id="line-180"></span><span class="hs-identifier">wM_MOUSEACTIVATE</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-181"></span><span class="hs-identifier">wM_MOUSEACTIVATE</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">33</span><span>
</span><span id="line-182"></span><span class="hs-identifier">wM_CANCELMODE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-183"></span><span class="hs-identifier">wM_CANCELMODE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">31</span><span>
</span><span id="line-184"></span><span class="hs-identifier">wM_TIMER</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-185"></span><span class="hs-identifier">wM_TIMER</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">275</span><span>
</span><span id="line-186"></span><span class="hs-identifier">wM_INITMENU</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-187"></span><span class="hs-identifier">wM_INITMENU</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">278</span><span>
</span><span id="line-188"></span><span class="hs-identifier">wM_INITMENUPOPUP</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-189"></span><span class="hs-identifier">wM_INITMENUPOPUP</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">279</span><span>
</span><span id="line-190"></span><span class="hs-identifier">wM_MENUSELECT</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-191"></span><span class="hs-identifier">wM_MENUSELECT</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">287</span><span>
</span><span id="line-192"></span><span class="hs-identifier">wM_MENUCHAR</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-193"></span><span class="hs-identifier">wM_MENUCHAR</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">288</span><span>
</span><span id="line-194"></span><span class="hs-identifier">wM_COMMAND</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-195"></span><span class="hs-identifier">wM_COMMAND</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">273</span><span>
</span><span id="line-196"></span><span class="hs-identifier">wM_HSCROLL</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-197"></span><span class="hs-identifier">wM_HSCROLL</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">276</span><span>
</span><span id="line-198"></span><span class="hs-identifier">wM_VSCROLL</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-199"></span><span class="hs-identifier">wM_VSCROLL</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">277</span><span>
</span><span id="line-200"></span><span class="hs-identifier">wM_CUT</span><span>                </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-201"></span><span class="hs-identifier">wM_CUT</span><span>                </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">768</span><span>
</span><span id="line-202"></span><span class="hs-identifier">wM_COPY</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-203"></span><span class="hs-identifier">wM_COPY</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">769</span><span>
</span><span id="line-204"></span><span class="hs-identifier">wM_PASTE</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-205"></span><span class="hs-identifier">wM_PASTE</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">770</span><span>
</span><span id="line-206"></span><span class="hs-identifier">wM_CLEAR</span><span>              </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-207"></span><span class="hs-identifier">wM_CLEAR</span><span>              </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">771</span><span>
</span><span id="line-208"></span><span class="hs-identifier">wM_UNDO</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-209"></span><span class="hs-identifier">wM_UNDO</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">772</span><span>
</span><span id="line-210"></span><span class="hs-identifier">wM_RENDERFORMAT</span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-211"></span><span class="hs-identifier">wM_RENDERFORMAT</span><span>       </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">773</span><span>
</span><span id="line-212"></span><span class="hs-identifier">wM_RENDERALLFORMATS</span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-213"></span><span class="hs-identifier">wM_RENDERALLFORMATS</span><span>   </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">774</span><span>
</span><span id="line-214"></span><span class="hs-identifier">wM_DESTROYCLIPBOARD</span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-215"></span><span class="hs-identifier">wM_DESTROYCLIPBOARD</span><span>   </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">775</span><span>
</span><span id="line-216"></span><span class="hs-identifier">wM_DRAWCLIPBOARD</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-217"></span><span class="hs-identifier">wM_DRAWCLIPBOARD</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">776</span><span>
</span><span id="line-218"></span><span class="hs-identifier">wM_PAINTCLIPBOARD</span><span>     </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-219"></span><span class="hs-identifier">wM_PAINTCLIPBOARD</span><span>     </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">777</span><span>
</span><span id="line-220"></span><span class="hs-identifier">wM_SIZECLIPBOARD</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-221"></span><span class="hs-identifier">wM_SIZECLIPBOARD</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">779</span><span>
</span><span id="line-222"></span><span class="hs-identifier">wM_VSCROLLCLIPBOARD</span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-223"></span><span class="hs-identifier">wM_VSCROLLCLIPBOARD</span><span>   </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">778</span><span>
</span><span id="line-224"></span><span class="hs-identifier">wM_HSCROLLCLIPBOARD</span><span>   </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-225"></span><span class="hs-identifier">wM_HSCROLLCLIPBOARD</span><span>   </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">782</span><span>
</span><span id="line-226"></span><span class="hs-identifier">wM_ASKCBFORMATNAME</span><span>    </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-227"></span><span class="hs-identifier">wM_ASKCBFORMATNAME</span><span>    </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">780</span><span>
</span><span id="line-228"></span><span class="hs-identifier">wM_CHANGECBCHAIN</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-229"></span><span class="hs-identifier">wM_CHANGECBCHAIN</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">781</span><span>
</span><span id="line-230"></span><span class="hs-identifier">wM_SETCURSOR</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-231"></span><span class="hs-identifier">wM_SETCURSOR</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">32</span><span>
</span><span id="line-232"></span><span class="hs-identifier">wM_SYSCOMMAND</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-233"></span><span class="hs-identifier">wM_SYSCOMMAND</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">274</span><span>
</span><span id="line-234"></span><span class="hs-identifier">wM_MDICREATE</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-235"></span><span class="hs-identifier">wM_MDICREATE</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">544</span><span>
</span><span id="line-236"></span><span class="hs-identifier">wM_MDIDESTROY</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-237"></span><span class="hs-identifier">wM_MDIDESTROY</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">545</span><span>
</span><span id="line-238"></span><span class="hs-identifier">wM_MDIACTIVATE</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-239"></span><span class="hs-identifier">wM_MDIACTIVATE</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">546</span><span>
</span><span id="line-240"></span><span class="hs-identifier">wM_MDIRESTORE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-241"></span><span class="hs-identifier">wM_MDIRESTORE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">547</span><span>
</span><span id="line-242"></span><span class="hs-identifier">wM_MDINEXT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-243"></span><span class="hs-identifier">wM_MDINEXT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">548</span><span>
</span><span id="line-244"></span><span class="hs-identifier">wM_MDIMAXIMIZE</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-245"></span><span class="hs-identifier">wM_MDIMAXIMIZE</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">549</span><span>
</span><span id="line-246"></span><span class="hs-identifier">wM_MDITILE</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-247"></span><span class="hs-identifier">wM_MDITILE</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">550</span><span>
</span><span id="line-248"></span><span class="hs-identifier">wM_MDICASCADE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-249"></span><span class="hs-identifier">wM_MDICASCADE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">551</span><span>
</span><span id="line-250"></span><span class="hs-identifier">wM_MDIICONARRANGE</span><span>     </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-251"></span><span class="hs-identifier">wM_MDIICONARRANGE</span><span>     </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">552</span><span>
</span><span id="line-252"></span><span class="hs-identifier">wM_MDIGETACTIVE</span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-253"></span><span class="hs-identifier">wM_MDIGETACTIVE</span><span>       </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">553</span><span>
</span><span id="line-254"></span><span class="hs-identifier">wM_MDISETMENU</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-255"></span><span class="hs-identifier">wM_MDISETMENU</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">560</span><span>
</span><span id="line-256"></span><span class="hs-identifier">wM_CHILDACTIVATE</span><span>      </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-257"></span><span class="hs-identifier">wM_CHILDACTIVATE</span><span>      </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">34</span><span>
</span><span id="line-258"></span><span class="hs-identifier">wM_INITDIALOG</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-259"></span><span class="hs-identifier">wM_INITDIALOG</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">272</span><span>
</span><span id="line-260"></span><span class="hs-identifier">wM_NEXTDLGCTL</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-261"></span><span class="hs-identifier">wM_NEXTDLGCTL</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">40</span><span>
</span><span id="line-262"></span><span class="hs-identifier">wM_PARENTNOTIFY</span><span>       </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-263"></span><span class="hs-identifier">wM_PARENTNOTIFY</span><span>       </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">528</span><span>
</span><span id="line-264"></span><span class="hs-identifier">wM_ENTERIDLE</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-265"></span><span class="hs-identifier">wM_ENTERIDLE</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">289</span><span>
</span><span id="line-266"></span><span class="hs-identifier">wM_GETDLGCODE</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-267"></span><span class="hs-identifier">wM_GETDLGCODE</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">135</span><span>
</span><span id="line-268"></span><span class="hs-identifier">wM_SETFONT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-269"></span><span class="hs-identifier">wM_SETFONT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">48</span><span>
</span><span id="line-270"></span><span class="hs-identifier">wM_GETFONT</span><span>            </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-271"></span><span class="hs-identifier">wM_GETFONT</span><span>            </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">49</span><span>
</span><span id="line-272"></span><span class="hs-identifier">wM_DRAWITEM</span><span>           </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-273"></span><span class="hs-identifier">wM_DRAWITEM</span><span>           </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">43</span><span>
</span><span id="line-274"></span><span class="hs-identifier">wM_MEASUREITEM</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-275"></span><span class="hs-identifier">wM_MEASUREITEM</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">44</span><span>
</span><span id="line-276"></span><span class="hs-identifier">wM_DELETEITEM</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-277"></span><span class="hs-identifier">wM_DELETEITEM</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">45</span><span>
</span><span id="line-278"></span><span class="hs-identifier">wM_COMPAREITEM</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-279"></span><span class="hs-identifier">wM_COMPAREITEM</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">57</span><span>
</span><span id="line-280"></span><span class="hs-identifier">wM_VKEYTOITEM</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-281"></span><span class="hs-identifier">wM_VKEYTOITEM</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">46</span><span>
</span><span id="line-282"></span><span class="hs-identifier">wM_CHARTOITEM</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-283"></span><span class="hs-identifier">wM_CHARTOITEM</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">47</span><span>
</span><span id="line-284"></span><span class="hs-identifier">wM_QUEUESYNC</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-285"></span><span class="hs-identifier">wM_QUEUESYNC</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">35</span><span>
</span><span id="line-286"></span><span class="hs-identifier">wM_USER</span><span>               </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-287"></span><span class="hs-identifier">wM_USER</span><span>               </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">1024</span><span>
</span><span id="line-288"></span><span class="hs-identifier">wM_APP</span><span>                </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-289"></span><span class="hs-identifier">wM_APP</span><span>                </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">32768</span><span>
</span><span id="line-290"></span><span>
</span><span id="line-291"></span><span class="hs-pragma">{-# LINE 162 &quot;libraries\\Win32\\Graphics\\Win32\\Message.hsc&quot; #-}</span><span>
</span><span id="line-162"></span><span>
</span><span id="line-163"></span><span class="hs-identifier">registerWindowMessage</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">String</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">IO</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-164"></span><span class="hs-identifier">registerWindowMessage</span><span> </span><span class="hs-identifier">msg</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-165"></span><span>  </span><span class="hs-identifier">withTString</span><span> </span><span class="hs-identifier">msg</span><span> </span><span class="hs-identifier">c_RegisterWindowMessage</span><span>
</span><span id="line-166"></span><span class="hs-keyword">foreign</span><span> </span><span class="hs-keyword">import</span><span> </span><span class="hs-identifier">WINDOWS_CCONV</span><span> </span><span class="hs-keyword">unsafe</span><span> </span><span class="hs-string">&quot;windows.h RegisterWindowMessageW&quot;</span><span>
</span><span id="line-167"></span><span>  </span><span class="hs-identifier">c_RegisterWindowMessage</span><span> </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">LPCTSTR</span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="hs-identifier">IO</span><span> </span><span class="hs-identifier">WindowMessage</span><span>
</span><span id="line-168"></span><span>
</span><span id="line-169"></span><span class="hs-comment">-- These are WM_SIZE specific</span><span>
</span><span id="line-170"></span><span class="hs-identifier">sIZE_RESTORED</span><span>         </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WPARAM</span><span>
</span><span id="line-171"></span><span class="hs-identifier">sIZE_RESTORED</span><span>         </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">0</span><span>
</span><span id="line-172"></span><span class="hs-identifier">sIZE_MINIMIZED</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WPARAM</span><span>
</span><span id="line-173"></span><span class="hs-identifier">sIZE_MINIMIZED</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">1</span><span>
</span><span id="line-174"></span><span class="hs-identifier">sIZE_MAXIMIZED</span><span>        </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WPARAM</span><span>
</span><span id="line-175"></span><span class="hs-identifier">sIZE_MAXIMIZED</span><span>        </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">2</span><span>
</span><span id="line-176"></span><span class="hs-identifier">sIZE_MAXSHOW</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WPARAM</span><span>
</span><span id="line-177"></span><span class="hs-identifier">sIZE_MAXSHOW</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">3</span><span>
</span><span id="line-178"></span><span class="hs-identifier">sIZE_MAXHIDE</span><span>          </span><span class="hs-glyph">::</span><span> </span><span class="hs-identifier">WPARAM</span><span>
</span><span id="line-179"></span><span class="hs-identifier">sIZE_MAXHIDE</span><span>          </span><span class="hs-glyph">=</span><span>  </span><span class="hs-number">4</span><span>
</span><span id="line-180"></span><span>
</span><span id="line-181"></span><span class="hs-pragma">{-# LINE 177 &quot;libraries\\Win32\\Graphics\\Win32\\Message.hsc&quot; #-}</span><span>
</span><span id="line-177"></span><span>
</span><span id="line-178"></span><span class="hs-comment">----------------------------------------------------------------</span><span>
</span><span id="line-179"></span><span class="hs-comment">-- Phew!</span><span>
</span><span id="line-180"></span><span class="hs-comment">----------------------------------------------------------------</span><span>
</span><span id="line-181"></span></pre></body></html>